package club.babyf.oss.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Provider.
 *
 * @author zhanglei.
 * @date 2024/12/31 16:06.
 * @description 提供者枚举.
 */
enum Provider {

    ALI_YUN,

    LOCAL,

    TENCENT,

    ;

}

/**
 * OSSProperties.
 *
 * @author zhanglei.
 * @date 2024/12/31 16:05.
 * @description 对象存储配置.
 */
@Data
@ConfigurationProperties(prefix = "oss")
public class OSSProperties {

    private Provider provider;

}
